import request from '@/utils/request'

// 查询会议纪要列表
export function listMeetingMinutes(query) {
  return request({
    url: '/cooperate/meetingMinutes/list',
    method: 'get',
    params: query
  })
}

// 查询会议纪要详细
export function getMeetingMinutes(id) {
  return request({
    url: '/cooperate/meetingMinutes/' + id,
    method: 'get'
  })
}

// 新增会议纪要
export function addMeetingMinutes(data) {
  return request({
    url: '/cooperate/meetingMinutes',
    method: 'post',
    data: data
  })
}

// 修改会议纪要
export function updateMeetingMinutes(data) {
  return request({
    url: '/cooperate/meetingMinutes',
    method: 'put',
    data: data
  })
}

// 删除会议纪要
export function delMeetingMinutes(id) {
  return request({
    url: '/cooperate/meetingMinutes/' + id,
    method: 'delete'
  })
}